package com.lwj.hi.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: lwj
 * @create: 2025-04-27} 10 48
 * @Version 1.0
 **/
@RestController
public class HiController {
    @Value("${server.port}")
    private String port;
    @GetMapping("hi")
    public String hi(){
        return port;
    }
}

